package com.culture.java.online.education.platform.data.demo.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.culture.java.online.education.platform.common.base.entity.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.time.LocalDate;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@TableName("t_student")
public class Student extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    private Byte age;

    private LocalDate birthday;

    private String password;

}
